package com.lh.web.service.serviceAdmin.shop;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lh.common.entity.admin.Category;
import com.lh.common.utils.PageUtils;

import java.util.Map;

/**
 * @author FH
 * @ClassName: CategoryService
 * @Description: (类作用)
 * @date: 2020-06-28 9:20
 */
public interface CategoryService  extends IService<Category> {

    PageUtils queryCategoryList(Map<String, Object> param, Integer pageNum, Integer pageSize);

    Category getCategoryName(String sortName);

    int addCategory(Category category);

    int updateCategory(Category category);

    String deleteCategory(Long id);
}
